package com.decade.service;

import com.decade.entity.Stock;

/**
 * @author gzk
 * @date 2021/49/11 15:49
 */
public interface StockService {
    Stock getStockByGoodsId(Long goodsId);

    boolean decrementProductStore(Long productId, Integer productQuantity);
}
